/*
 * @Author: wuqingchun
 * @Date: 2023-08-17 15:59:05
 * @Description: 
 * @LastEditors: wuqingchun
 * @LastEditTime: 2024-01-09 15:47:30
 */
#ifndef __FTPC_STDIN_H__
#define __FTPC_STDIN_H__

typedef int (*FTPC_CMD_HANDLER_PF)(FTPC_CMD_INFO_S* pstCmdInfo);

typedef struct tagFTPCCommand
{
    char *pcName;
    FTPC_CMD_HANDLER_PF pfHandler;
    unsigned int uiMaxArgCount;
}FTPC_CMD_S;


int FTPC_stdin_WaitInput(void);
int FTPC_stdin_Read(void);
void FTPC_stdin_Init(void);

#endif //__FTPC_STDIN_H__